package com.smartrobot.smartrobot.util;

import java.io.Serializable;

/**
 * Created by Administrator on 2015/1/13.
 */
public class News implements Serializable{

    private String id;
    private String title;
    private String simpleContent;
    private String fileType;
    private String simpleImg;
    private String time;
    private String timeSort;
    private String url;

    public static final String ID = "tid";
    public static final String TITLE = "a_title";
    public static final String SIMPLECONTENT = "a_synopsis";
    public static final String FILETYPE = "a_filetype";//图片或视频
    public static final String SIMPLEIMG = "a_fileurl";
    public static final String TIME = "a_time";
    public static final String TIMESORT = "a_timesort";
    public static final String URL = "Url";


    public News(){

    }

    public News(String id, String title, String simpleContent, String simpleImg, String url,String time) {
        this.id = id;
        this.title = title;
        this.simpleContent = simpleContent;
        this.simpleImg = simpleImg;
        this.url = url;
        this.time = time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSimpleImg() {
        return simpleImg;
    }

    public void setSimpleImg(String simpleImg) {
        this.simpleImg = simpleImg;
    }

    public String getSimpleContent() {
        return simpleContent;
    }

    public void setSimpleContent(String simpleContent) {
        this.simpleContent = simpleContent;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getTime() {
        return time;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getTimeSort() {
        return timeSort;
    }

    public void setTimeSort(String timeSort) {
        this.timeSort = timeSort;
    }

    @Override
    public String toString() {
        return "News{" +
                "id='" + id + '\'' +
                ", title='" + title + '\'' +
                ", simpleContent='" + simpleContent + '\'' +
                ", fileType='" + fileType + '\'' +
                ", simpleImg='" + simpleImg + '\'' +
                ", time='" + time + '\'' +
                ", timeSort='" + timeSort + '\'' +
                ", url='" + url + '\'' +
                '}';
    }
}
